//
//  EventCenterAPIRequest.h
//  ConvenientlyTake
//
//  Created by 张奇 on 2022/12/22.
//

#import "TGNetworkManager.h"

NS_ASSUME_NONNULL_BEGIN

@interface EventCenterAPIRequest : TGNetworkManager

/// 事件中心-分页查询事件列表
/// @param eventState 事件状态(1-待受理; 2-指派中；3-处理中；4-待审核；5-局委审核中；6-宣传部审核中;7-已办结;8-不予受理)
/// @param success success
/// @param fail fail
+(NSURLSessionDataTask *)GETEventWithEventState:(NSInteger)eventState
                                           page:(NSInteger)page
                                       promoter:(NSString *)promoter
                                        success:(LZTResponseSuccess)success fail:(LZTResponseFailure)fail;

/// 统计当前登录用户的待办任务数量
/// @param success success
/// @param fail fail
+(NSURLSessionDataTask *)GETCountByCurrentUserWithSuccess:(LZTResponseSuccess)success fail:(LZTResponseFailure)fail;

@end

NS_ASSUME_NONNULL_END
